package com.dk.service;

import com.dk.pojo.Menu;

import java.util.List;
import java.util.Map;

public interface MenuService {
    List<Map<String, Object>> getMenuInfo(Integer playerAccount);

    List<Map<String, Object>> getZtreeMenu();

    boolean add(Menu menu);

    Menu toUpdate(Integer menuId);

    boolean update(Menu menu);

    boolean deleteById(Integer menuId);

    List<Map<String, Object>> getZtreeMenuChecked(Integer positionId);

}
